import request from "@/utils/request";

export function applyList() {
  return request({
    url: "/login/apply/list",
    method: "post",
  });
}

export function editRegister(data) {
  return request({
    url: "/login/register/edit",
    method: "post",
    data: data,
  });
}

export function ToLogin(data) {
  return request({
    url: "/login/check",
    method: "post",
    data: data,
  });
}
export function FindInfo(username) {
  return request({
    url: "/login/info/" + username,
    method: "get",
  });
}
